package com.scm.bean;

import java.util.HashSet;
import java.util.Set;

/**
 * Monthsale entity. @author MyEclipse Persistence Tools
 */

public class Monthsale implements java.io.Serializable {

	// Fields

	private Integer monthSaleId;
	private Yearsale yearsale=new Yearsale();
	private String month;
	private Integer planSaleCount;
	private Integer saleCount;
	private Set dealersales = new HashSet(0);

	// Constructors

	/** default constructor */
	public Monthsale() {
	}

	/** minimal constructor */
	public Monthsale(Yearsale yearsale, String month, Integer planSaleCount,
			Integer saleCount) {
		this.yearsale = yearsale;
		this.month = month;
		this.planSaleCount = planSaleCount;
		this.saleCount = saleCount;
	}

	/** full constructor */
	public Monthsale(Yearsale yearsale, String month, Integer planSaleCount,
			Integer saleCount, Set dealersales) {
		this.yearsale = yearsale;
		this.month = month;
		this.planSaleCount = planSaleCount;
		this.saleCount = saleCount;
		this.dealersales = dealersales;
	}

	// Property accessors

	public Integer getMonthSaleId() {
		return this.monthSaleId;
	}

	public void setMonthSaleId(Integer monthSaleId) {
		this.monthSaleId = monthSaleId;
	}

	public Yearsale getYearsale() {
		return this.yearsale;
	}

	public void setYearsale(Yearsale yearsale) {
		this.yearsale = yearsale;
	}

	public String getMonth() {
		return this.month;
	}

	public void setMonth(String month) {
		this.month = month;
	}

	public Integer getPlanSaleCount() {
		return this.planSaleCount;
	}

	public void setPlanSaleCount(Integer planSaleCount) {
		this.planSaleCount = planSaleCount;
	}

	public Integer getSaleCount() {
		return this.saleCount;
	}

	public void setSaleCount(Integer saleCount) {
		this.saleCount = saleCount;
	}

	public Set getDealersales() {
		return this.dealersales;
	}

	public void setDealersales(Set dealersales) {
		this.dealersales = dealersales;
	}

}